From c0bb9f3b6dd56431415805a65b6abab323140dff Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 1 Jun 1993 22:19:16 +0000 Subject: [PATCH] (mouse-buffer-menu): Don't select the event's window, if event has frame instead. --- lisp/mouse.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/mouse.el b/lisp/mouse.el index 38a9a5a6d65..80a7c0436f8 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el @@ -258,7 +258,7 @@ and selects that window." (window (posn-window (event-start event)))) (if buf (progn - (select-window window) + (or (framep window) (select-window window)) (switch-to-buffer buf)))))) ;;; These need to be rewritten for the new scroll bar implementation. -- 2.30.2